Cache default gdk visuals in the GDK_VISUALS property on the root window
authorAlexander Larsson <alexl@redhat.com>
Wed, 29 Oct 2014 12:33:08 +0000 (13:33 +0100)
committerAlexander Larsson <alexl@redhat.com>
Wed, 29 Oct 2014 12:35:17 +0000 (13:35 +0100)
commit8c7623de84d13437e951d37ded04dbefdea5c88c
tree1baf3f1cf035d8b820616edb4fc0e7510dd3df4d
parentdae447728db32a5a7162d9216f2e2343837cbae4
Cache default gdk visuals in the GDK_VISUALS property on the root window

This means we don't have to try to initialize opengl in every gtk
instance that is stated. It will only happen for the first one.

https://bugzilla.gnome.org/show_bug.cgi?id=738670
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkglcontext-x11.c